package com.sgcc.activiti.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 资讯处理流程对象 o_content_app_handle
 * 
 * @author sgcc
 * @date 2021-03-31
 */
public class OContentAppHandle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private String id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date updateDate;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 逻辑删除标记（0：显示；1：隐藏） */
    @Excel(name = "逻辑删除标记", readConverterExp = "0=：显示；1：隐藏")
    private String delFlag;

    /** 流程实例 */
    @Excel(name = "流程实例")
    private String appNo;

    /** 环节名称,如审核环节等 */
    @Excel(name = "环节名称,如审核环节等")
    private String actName;

    /** 处理单位的供电单位名称 */
    @Excel(name = "处理单位的供电单位名称")
    private String handleOrg;

    /** 处理部门 */
    @Excel(name = "处理部门")
    private String handleDept;

    /** 处理人员 */
    @Excel(name = "处理人员")
    private String handleStaff;

    /** 到达方式，采用标准编码backFlag  01正常，02回退，03审核不通过 */
    @Excel(name = "到达方式，采用标准编码backFlag  01正常，02回退，03审核不通过")
    private String arriveFlag;

    /** 处理情况 */
    @Excel(name = "处理情况")
    private String handleContent;

    /** 工单到达时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "工单到达时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date arriveTime;

    /** 接单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "接单时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date acceptTime;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date handleFinishTime;

    private String handleFinishTimeStr;//处理时间字符串

    /** 上一活动环节 */
    @Excel(name = "上一活动环节")
    private String pHandleId;

    /** 预警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预警时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date warnTime;

    /** 考核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "考核时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date overTime;

    /** 超时原因 */
    @Excel(name = "超时原因")
    private String outtimeReason;

    /** 流程实例id */
    @Excel(name = "流程实例id")
    private String procInsId;

    /** 工单编号 */
    @Excel(name = "工单编号")
    private String orderNo;

    public String getHandleFinishTimeStr() {
        return handleFinishTimeStr;
    }

    public void setHandleFinishTimeStr(String handleFinishTimeStr) {
        this.handleFinishTimeStr = handleFinishTimeStr;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setAppNo(String appNo) 
    {
        this.appNo = appNo;
    }

    public String getAppNo() 
    {
        return appNo;
    }
    public void setActName(String actName) 
    {
        this.actName = actName;
    }

    public String getActName() 
    {
        return actName;
    }
    public void setHandleOrg(String handleOrg) 
    {
        this.handleOrg = handleOrg;
    }

    public String getHandleOrg() 
    {
        return handleOrg;
    }
    public void setHandleDept(String handleDept) 
    {
        this.handleDept = handleDept;
    }

    public String getHandleDept() 
    {
        return handleDept;
    }
    public void setHandleStaff(String handleStaff) 
    {
        this.handleStaff = handleStaff;
    }

    public String getHandleStaff() 
    {
        return handleStaff;
    }
    public void setArriveFlag(String arriveFlag) 
    {
        this.arriveFlag = arriveFlag;
    }

    public String getArriveFlag() 
    {
        return arriveFlag;
    }
    public void setHandleContent(String handleContent) 
    {
        this.handleContent = handleContent;
    }

    public String getHandleContent() 
    {
        return handleContent;
    }
    public void setArriveTime(Date arriveTime) 
    {
        this.arriveTime = arriveTime;
    }

    public Date getArriveTime() 
    {
        return arriveTime;
    }
    public void setAcceptTime(Date acceptTime) 
    {
        this.acceptTime = acceptTime;
    }

    public Date getAcceptTime() 
    {
        return acceptTime;
    }
    public void setHandleFinishTime(Date handleFinishTime) 
    {
        this.handleFinishTime = handleFinishTime;
    }

    public Date getHandleFinishTime() 
    {
        return handleFinishTime;
    }
    public void setpHandleId(String pHandleId) 
    {
        this.pHandleId = pHandleId;
    }

    public String getpHandleId() 
    {
        return pHandleId;
    }
    public void setWarnTime(Date warnTime) 
    {
        this.warnTime = warnTime;
    }

    public Date getWarnTime() 
    {
        return warnTime;
    }
    public void setOverTime(Date overTime) 
    {
        this.overTime = overTime;
    }

    public Date getOverTime() 
    {
        return overTime;
    }
    public void setOuttimeReason(String outtimeReason) 
    {
        this.outtimeReason = outtimeReason;
    }

    public String getOuttimeReason() 
    {
        return outtimeReason;
    }
    public void setProcInsId(String procInsId) 
    {
        this.procInsId = procInsId;
    }

    public String getProcInsId() 
    {
        return procInsId;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .append("appNo", getAppNo())
            .append("actName", getActName())
            .append("handleOrg", getHandleOrg())
            .append("handleDept", getHandleDept())
            .append("handleStaff", getHandleStaff())
            .append("arriveFlag", getArriveFlag())
            .append("handleContent", getHandleContent())
            .append("arriveTime", getArriveTime())
            .append("acceptTime", getAcceptTime())
            .append("handleFinishTime", getHandleFinishTime())
            .append("pHandleId", getpHandleId())
            .append("warnTime", getWarnTime())
            .append("overTime", getOverTime())
            .append("outtimeReason", getOuttimeReason())
            .append("procInsId", getProcInsId())
            .append("orderNo", getOrderNo())
            .toString();
    }
}
